import { styled } from '@mui/material'

const StyledColorSpan = styled((props) => <span {...props} />)(({ theme }) => {
  const isDark = !!(theme.palette.mode === 'dark')
  return {
    color: isDark ? '#E8EAEA' : '#424e54'
  }
})

export default StyledColorSpan